import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import audio from '@/store/modules/audio.js';
import common from '@/store/modules/common.js';

export default new Vuex.Store({
	modules:{
		audio,
		common
	},
		
	state:{
		chat_page:2,
		chat_list:[],
	},
	mutations:{
		setPage(state,v) {
			state.chat_page =v;
		},
		setChatList(state,v) {
			state.chat_list =v;
		},
	}
})